package cn.cy.service.impl;

import cn.cy.dao.CheckResultDao;
import cn.cy.pojo.BizCheckResult;
import cn.cy.pojo.SysEmployee;
import cn.cy.service.CheckResultservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service("checkResultservice")
public class CheckResultserviceImpl implements CheckResultservice {
    @Autowired
    private CheckResultDao checkResultDao;

    public List<BizCheckResult> findAll() {
        return null;
    }

    @Override
    public List<BizCheckResult> findAll(Class clazz) {
        return checkResultDao.findAll(clazz);
    }

    @Override
    public List<BizCheckResult> findById(Long id) {
        return null;
    }

    @Override
    public List<BizCheckResult> findByClaimId(Long claimId) {
        return checkResultDao.findByClaimId(claimId);
    }

    @Override
    public List<BizCheckResult> findByCheckId(SysEmployee employee) {
        return checkResultDao.findByCheckId(employee);
    }

    @Override
    public void save(BizCheckResult checkResult) {
        checkResultDao.save(checkResult);
    }

    @Override
    public void update(BizCheckResult checkResult) {
        checkResultDao.update(checkResult);
    }

    @Override
    public void delete(BizCheckResult checkResult) {
        checkResultDao.delete(checkResult);
    }
}
